<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教材资源库 - 高中数学</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CBCB',
                        neutral: '#F5F7FA',
                        'neutral-dark': '#4E5969',
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-balance {
                text-wrap: balance;
            }
            .card-hover {
                @apply hover:shadow-md transition-shadow duration-300;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <!-- Logo区域 -->
            <div class="flex items-center space-x-3">
                <div class="w-10 h-10 rounded-lg bg-primary flex items-center justify-center text-white">
                    <i class="fa fa-book text-lg"></i>
                </div>
                <h1 class="text-xl font-bold text-gray-800">教材资源管理系统</h1>
            </div>
            
            <!-- 导航链接 -->
            <nav class="hidden md:flex items-center space-x-1">
                <a href="#" class="px-3 py-2 rounded-md text-gray-600 hover:bg-primary/5 hover:text-primary text-sm transition-colors">首页</a>
                <a href="#" class="px-3 py-2 rounded-md bg-primary/10 text-primary text-sm transition-colors">教材库</a>
                <a href="#" class="px-3 py-2 rounded-md text-gray-600 hover:bg-primary/5 hover:text-primary text-sm transition-colors">知识点</a>
                <a href="#" class="px-3 py-2 rounded-md text-gray-600 hover:bg-primary/5 hover:text-primary text-sm transition-colors">教学资源</a>
            </nav>
            
            <!-- 右侧功能区 -->
            <div class="flex items-center space-x-4">
                <div class="relative hidden sm:block">
                    <input type="text" placeholder="搜索教材..." 
                           class="pl-9 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 text-sm w-48 lg:w-64">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="flex items-center space-x-2 cursor-pointer">
                    <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full object-cover">
                    <span class="hidden md:inline text-sm font-medium">张老师</span>
                </div>
            </div>
        </div>
    </header>

    <main class="flex-1 container mx-auto px-4 py-6">
        <!-- 面包屑导航 -->
        <div class="flex items-center text-sm text-gray-500 mb-6">
            <a href="#" class="hover:text-primary">首页</a>
            <i class="fa fa-angle-right mx-2 text-gray-300 text-xs"></i>
            <a href="#" class="hover:text-primary">高中教材</a>
            <i class="fa fa-angle-right mx-2 text-gray-300 text-xs"></i>
            <span class="text-gray-700">数学</span>
        </div>
        
        <!-- 页面标题和统计 -->
        <div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
            <div>
                <h2 class="text-2xl font-bold text-gray-800">高中数学教材</h2>
                <p class="text-gray-500 mt-1">共找到28本教材，涵盖12个版本</p>
            </div>
            
            <div class="flex items-center space-x-2 mt-4 md:mt-0">
                <button class="px-4 py-2 bg-primary text-white rounded-lg text-sm hover:bg-primary/90 transition-colors">
                    <i class="fa fa-filter mr-1"></i> 筛选
                </button>
                <button class="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg text-sm hover:bg-gray-50 transition-colors">
                    <i class="fa fa-sort mr-1"></i> 排序
                </button>
                <div class="relative">
                    <select class="pl-4 pr-10 py-2 border border-gray-300 rounded-lg text-sm appearance-none focus:outline-none focus:ring-2 focus:ring-primary/20 bg-white">
                        <option>全部版本</option>
                        <option>人教版</option>
                        <option>苏教版</option>
                        <option>北师大版</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
            </div>
        </div>
        
        <!-- 筛选条件 -->
        <div class="bg-white rounded-xl shadow-sm p-4 mb-6">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                <div>
                    <p class="text-xs text-gray-500 mb-2">学段</p>
                    <div class="flex flex-wrap gap-2">
                        <button class="px-3 py-1 bg-primary/10 text-primary rounded-full text-xs">高中一年级</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">高中二年级</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">高中三年级</button>
                    </div>
                </div>
                
                <div>
                    <p class="text-xs text-gray-500 mb-2">版本</p>
                    <div class="flex flex-wrap gap-2">
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">人教版</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">苏教版</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">北师大版</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">湘教版</button>
                    </div>
                </div>
                
                <div>
                    <p class="text-xs text-gray-500 mb-2">类型</p>
                    <div class="flex flex-wrap gap-2">
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">必修</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">选修</button>
                        <button class="px-3 py-1 border border-gray-200 rounded-full text-xs hover:border-primary/30 transition-colors">拓展</button>
                    </div>
                </div>
            </div>
            
            <div class="mt-4 flex items-center justify-between">
                <div class="text-xs text-gray-500">
                    已选择：<span class="text-primary">高中一年级</span>
                </div>
                <button class="text-primary text-xs hover:underline">
                    重置筛选 <i class="fa fa-refresh ml-1"></i>
                </button>
            </div>
        </div>
        
        <!-- 教材列表 -->
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
            <!-- 教材卡片1 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/24/300/400" alt="高中数学必修教材封面" class="w-full h-48 object-cover">
                    <div class="absolute top-2 right-2 bg-primary/90 text-white text-xs px-2 py-1 rounded-full">
                        最新版
                    </div>
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">高中数学（必修）</h3>
                        <span class="text-xs text-gray-500">人教版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中一年级 · 2025年审定版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2025-03</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>12.5万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star-half-o text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">4.8</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
            
            <!-- 教材卡片2 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/25/300/400" alt="高中数学选修教材封面" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">高中数学（选修1-1）</h3>
                        <span class="text-xs text-gray-500">人教版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中二年级 · 2025年版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2025-01</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>9.8万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star-o text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">4.2</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
            
            <!-- 教材卡片3 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/26/300/400" alt="高中数学选修教材封面" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">高中数学（选修2-1）</h3>
                        <span class="text-xs text-gray-500">人教版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中二年级 · 2023年版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2023-08</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>7.3万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star-half-o text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">4.7</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
            
            <!-- 教材卡片4 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/27/300/400" alt="高中数学选修教材封面" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">高中数学（选修3-1）</h3>
                        <span class="text-xs text-gray-500">人教版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中三年级 · 2024年版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2024-04</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>5.6万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star-o text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">4.1</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
            
            <!-- 教材卡片5 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/28/300/400" alt="高中数学选修教材封面" class="w-full h-48 object-cover">
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">高中数学（选修4-4）</h3>
                        <span class="text-xs text-gray-500">人教版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中三年级 · 2023年版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2023-10</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>4.2万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star-half-o text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">4.5</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
            
            <!-- 教材卡片6 -->
            <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                <div class="relative">
                    <img src="https://picsum.photos/id/29/300/400" alt="高中数学选修教材封面" class="w-full h-48 object-cover">
                    <div class="absolute top-2 right-2 bg-green-600/90 text-white text-xs px-2 py-1 rounded-full">
                        推荐
                    </div>
                </div>
                <div class="p-4">
                    <div class="flex justify-between items-start mb-2">
                        <h3 class="font-medium text-gray-800">数学建模案例精选</h3>
                        <span class="text-xs text-gray-500">通用版</span>
                    </div>
                    <p class="text-xs text-gray-500 mb-3">高中全学段 · 2024年版</p>
                    <div class="flex items-center text-xs text-gray-500 mb-4">
                        <div class="flex items-center mr-3">
                            <i class="fa fa-calendar-o mr-1"></i>
                            <span>2024-06</span>
                        </div>
                        <div class="flex items-center">
                            <i class="fa fa-users mr-1"></i>
                            <span>8.7万师生使用</span>
                        </div>
                    </div>
                    <div class="flex justify-between">
                        <div class="flex items-center">
                            <div class="flex">
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                                <i class="fa fa-star text-yellow-400 text-xs"></i>
                            </div>
                            <span class="text-xs text-gray-500 ml-1">5.0</span>
                        </div>
                        <a href="#" class="text-primary text-xs hover:underline">查看详情</a>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 分页控件 -->
        <div class="mt-8 flex justify-center">
            <nav class="flex items-center space-x-1">
                <a href="#" class="px-3 py-2 rounded-lg border border-gray-200 text-gray-500 hover:border-primary/30 hover:text-primary text-sm">
                    <i class="fa fa-angle-left"></i>
                </a>
                <a href="#" class="px-3 py-2 rounded-lg bg-primary text-white text-sm">1</a>
                <a href="#" class="px-3 py-2 rounded-lg border border-gray-200 text-gray-700 hover:border-primary/30 hover:text-primary text-sm">2</a>
                <a href="#" class="px-3 py-2 rounded-lg border border-gray-200 text-gray-700 hover:border-primary/30 hover:text-primary text-sm">3</a>
                <span class="px-3 py-2 text-gray-500 text-sm">...</span>
                <a href="#" class="px-3 py-2 rounded-lg border border-gray-200 text-gray-700 hover:border-primary/30 hover:text-primary text-sm">10</a>
                <a href="#" class="px-3 py-2 rounded-lg border border-gray-200 text-gray-500 hover:border-primary/30 hover:text-primary text-sm">
                    <i class="fa fa-angle-right"></i>
                </a>
            </nav>
        </div>
    </main>
    
    <!-- 页脚 -->
    <footer class="bg-white border-t border-gray-200 py-4 mt-8">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="text-center md:text-left mb-4 md:mb-0">
                    <p class="text-sm text-gray-500">© 2025 教材资源管理系统 版权所有</p>
                </div>
                
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-500 hover:text-primary text-sm transition-colors">使用帮助</a>
                    <a href="#" class="text-gray-500 hover:text-primary text-sm transition-colors">版权声明</a>
                    <a href="#" class="text-gray-500 hover:text-primary text-sm transition-colors">联系我们</a>
                </div>
            </div>
        </div>
    </footer>
</body>
</html>
